Skip to content

docs(id-12215): program-run history stays live-only — decision note - #14006

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
queue/21628-12215-program-run-history-decision
Nov 24, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
queue/21628-12215-program-run-history-decision

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Closes #12215 (decision half; no code change — the live-or-unavailable ProgramRunsSection is the decided behavior).

Split from #11960 step 6. Decides the open question: durable program-run history (start, end, outcome) does not go in the world journal.

Why: runs are recomputable from already-journaled inputs + ProgramInstalled (module+seed); only wall-clock timing/fuel is not, and persisting that costs a hot-path append per guest update, unbounded journal growth, a version-16 format change, and retention questions — with no v1 owner workflow requiring it. Consistent with #6308 §§3, 10 (no journal entry just for charts; defer until evidence from real use).

The note includes the entry-kind/bounds/version sketch (coarse per-instance summaries, bounded ring + checkpoint counters, JOURNAL_VERSION_PROGRAM_RUNS = 16) for the revisit trigger: a concrete owner workflow needing run facts across restarts, filed with a retention bound.

Verification: docs-only diff (git diff --stat = 1 file, +102). Cited facts checked against sources: JOURNAL_VERSION_NOTIFY = 15 = max (pkgs/id/crates/id-worlds/src/world/journal.rs); CallMetrics in-memory-only (sandbox.rs); module+seed+inputs reproduce state (world/mod.rs); #11775 acceptance gate in issue body. No build/test run — no code touched; CI checks cover the PR.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T02:07:38Z",
    "session_id": "ses_e5df4b33e4fffeP2rLq0MVMKzm",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "queue/21628-12215-program-run-history-decision",
      "sha": "145013c3c695f2b74341692685eaedb51a2c755a"
    },
    "auth_subject": "oc-code-02",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Split from #11960 step 6. Decides the open question: durable
program-run history does not go in the world journal. Runs are
recomputable from journaled inputs + ProgramInstalled (module+seed);
only wall-clock timing/fuel is not, and persisting that costs a hot-path
append per guest update, unbounded journal growth, a version-16 format
change, and retention questions with no v1 owner workflow requiring it.

Includes the entry-kind/bounds/version sketch for the revisit trigger.
No code change: the live-or-unavailable ProgramRunsSection is the
decided behavior.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 9 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a82e91cc-22c8-4014-a47b-0747865497ef
Commits

Reviewing files that changed from the base of the PR and between 6fd30c9 and 145013c.

Files selected for processing: 1

  • doc/2026-11-24_decision_id12215_program_run_history.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit 1788b12 into main Nov 24, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the queue/21628-12215-program-run-history-decision branch November 24, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id: decide whether program-run history belongs in the world journal

1 participant